home *** CD-ROM | disk | FTP | other *** search
- "FILE"="Xteq Systems X-Setup Plugin 3.1"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="System\Startup"
- "NAME"="Execute AutoExec.bat"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Execute AutoExec.bat"
- "DESCRIPTION 1"="Activate "Execute AutoExec.bat" if this file should be executed on startup."
- "DESCRIPTION 2"="Note: AUTOEXEC.NT and CONFIG.NT are always executed!"
- "AUTHOR"="Xteq Systems"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
- "COMMENT 2"="Version 1.44"
-
-
- sP="HKLM\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\"
- sv1="ParseAutoexec" 'string
- Sub Plugin_Initialize
- if regpathexists(sp) then
-
- i=RegReadValue(sp&sv1)
- if i=1 then SetUIElement 1,true
-
- else
- Disable
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- Call RegWriteValue(sp & sv1,"1",1)
- else
- Call RegWriteValue(sp & sv1,"0",1)
- end if
-
-
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-